package com.real8.romemp.client.mvp;

import com.google.gwt.place.shared.PlaceHistoryMapper;
import com.google.gwt.place.shared.WithTokenizers;
import com.real8.romemp.client.place.EndTurnPlace;
import com.real8.romemp.client.place.FeedPlace;
import com.real8.romemp.client.place.GameStartPlace;
import com.real8.romemp.client.place.GoodbyePlace;
import com.real8.romemp.client.place.HireAuxiliaPlace;
import com.real8.romemp.client.place.LabourAllocationPlace;
import com.real8.romemp.client.place.PiracyPlace;
import com.real8.romemp.client.place.PoliticalPlace;
import com.real8.romemp.client.place.ShipBuildingPlace;
import com.real8.romemp.client.place.TradeAllocationPlace;
import com.real8.romemp.client.place.TradePlace;
import com.real8.romemp.client.place.WarPlace;

/**
 * PlaceHistoryMapper interface is used to attach all places which the
 * PlaceHistoryHandler should be aware of. This is done via the @WithTokenizers
 * annotation or by extending PlaceHistoryMapperWithFactory and creating a
 * separate TokenizerFactory.
 */
@WithTokenizers( { GoodbyePlace.Tokenizer.class,
		GameStartPlace.Tokenizer.class, LabourAllocationPlace.Tokenizer.class,
		HireAuxiliaPlace.Tokenizer.class, ShipBuildingPlace.Tokenizer.class,
		TradeAllocationPlace.Tokenizer.class, WarPlace.Tokenizer.class,
		PiracyPlace.Tokenizer.class, TradePlace.Tokenizer.class,
		FeedPlace.Tokenizer.class, PoliticalPlace.Tokenizer.class,
		EndTurnPlace.Tokenizer.class })
public interface AppPlaceHistoryMapper extends PlaceHistoryMapper {
}
